package hh;

import hh.util.Asserts;
import hh.util.CommonUtil;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class Column {
    public String columnName;
    public String columnType;
    public String columnComment;
    public Class<?> columnJavaType;

    public Column() {
    }

    public Column(String columnName, String columnType, String columnComment, Class<?> columnJavaType) {
        this.columnName = columnName;
        this.columnType = columnType;
        this.columnComment = columnComment;
        Asserts.Null(columnJavaType, "columnJavaType==null");
        this.columnJavaType = columnJavaType;
    }

}
